<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Nayuki's Tea 小程序预览</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <style>
        .phone-frame {
            width: 375px;
            height: 812px;
            border: 2px solid #e5e7eb;
            border-radius: 36px;
            background: #000;
            padding: 8px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }
        .phone-screen {
            width: 100%;
            height: 100%;
            background: white;
            border-radius: 28px;
            overflow: hidden;
            position: relative;
        }
        .status-bar {
            height: 44px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 24px;
            color: white;
            font-size: 14px;
        }
        .tab-bar {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 83px;
            background: white;
            border-top: 1px solid #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: space-around;
        }
        .tab-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            font-size: 12px;
            color: #9ca3af;
            transition: all 0.3s ease;
        }
        .tab-item.active {
            color: #667eea;
        }
        .content-area {
            height: calc(100% - 44px - 83px);
            overflow-y: auto;
            background: #f9fafb;
        }
        .product-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }
        .product-card:hover {
            transform: translateY(-2px);
        }
        .category-tag {
            background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
            color: #92400e;
            padding: 4px 12px;
            border-radius: 16px;
            font-size: 12px;
            font-weight: 500;
        }
        .price-tag {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 6px 16px;
            border-radius: 20px;
            font-weight: 600;
        }
    </style>
</head>
<body class="bg-gray-100 min-h-screen flex items-center justify-center p-8">
    <div class="text-center">
        <h1 class="text-3xl font-bold text-gray-800 mb-2">Nayuki's Tea 小程序预览</h1>
        <p class="text-gray-600 mb-8">微信小程序界面模拟展示</p>
        
        <div class="phone-frame mx-auto">
            <div class="phone-screen">
                <!-- 状态栏 -->
                <div class="status-bar">
                    <span>9:41</span>
                    <div class="flex gap-1">
                        <i class="fas fa-signal"></i>
                        <i class="fas fa-wifi"></i>
                        <i class="fas fa-battery-full"></i>
                    </div>
                </div>
                
                <!-- 内容区域 -->
                <div class="content-area">
                    <!-- 搜索栏 -->
                    <div class="bg-white p-4">
                        <div class="relative">
                            <input type="text" placeholder="搜索奈雪的茶..." 
                                   class="w-full pl-10 pr-4 py-3 bg-gray-100 rounded-full text-sm">
                            <i class="fas fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
                        </div>
                    </div>
                    
                    <!-- 轮播图 -->
                    <div class="bg-gradient-to-r from-purple-400 to-pink-400 h-40 mx-4 mt-2 rounded-xl flex items-center justify-center">
                        <div class="text-white text-center">
                            <h3 class="text-xl font-bold">奈雪的茶</h3>
                            <p class="text-sm opacity-90">新鲜好茶，美好生活</p>
                        </div>
                    </div>
                    
                    <!-- 分类导航 -->
                    <div class="grid grid-cols-4 gap-4 p-4">
                        <div class="text-center">
                            <div class="w-12 h-12 bg-red-100 rounded-full flex items-center justify-center mx-auto mb-1">
                                <i class="fas fa-fire text-red-500"></i>
                            </div>
                            <span class="text-xs">热销爆款</span>
                        </div>
                        <div class="text-center">
                            <div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-1">
                                <i class="fas fa-leaf text-green-500"></i>
                            </div>
                            <span class="text-xs">鲜果茶</span>
                        </div>
                        <div class="text-center">
                            <div class="w-12 h-12 bg-yellow-100 rounded-full flex items-center justify-center mx-auto mb-1">
                                <i class="fas fa-coffee text-yellow-500"></i>
                            </div>
                            <span class="text-xs">奶茶</span>
                        </div>
                        <div class="text-center">
                            <div class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-1">
                                <i class="fas fa-gem text-purple-500"></i>
                            </div>
                            <span class="text-xs">限定款</span>
                        </div>
                    </div>
                    
                    <!-- 商品列表 -->
                    <div class="px-4 space-y-4 pb-4">
                        <h3 class="text-lg font-semibold">人气推荐</h3>
                        
                        <!-- 商品卡片1 -->
                        <div class="product-card">
                            <img src="https://images.unsplash.com/photo-1544787219-7f47ccb76574?w=400&h=200&fit=crop" 
                                 alt="霸气芝士草莓" class="w-full h-32 object-cover">
                            <div class="p-4">
                                <div class="flex justify-between items-start mb-2">
                                    <h4 class="font-semibold">霸气芝士草莓</h4>
                                    <span class="category-tag">鲜果茶</span>
                                </div>
                                <p class="text-sm text-gray-600 mb-3">新鲜草莓搭配芝士奶盖，口感丰富</p>
                                <div class="flex justify-between items-center">
                                    <span class="price-tag">¥32</span>
                                    <button class="bg-purple-600 text-white px-4 py-2 rounded-full text-sm">
                                        加入购物车
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 商品卡片2 -->
                        <div class="product-card">
                            <img src="https://images.unsplash.com/photo-1558857563-b371033873b8?w=400&h=200&fit=crop" 
                                 alt="金色山脉" class="w-full h-32 object-cover">
                            <div class="p-4">
                                <div class="flex justify-between items-start mb-2">
                                    <h4 class="font-semibold">金色山脉</h4>
                                    <span class="category-tag">奶茶</span>
                                </div>
                                <p class="text-sm text-gray-600 mb-3">经典奶茶，香浓顺滑</p>
                                <div class="flex justify-between items-center">
                                    <span class="price-tag">¥22</span>
                                    <button class="bg-purple-600 text-white px-4 py-2 rounded-full text-sm">
                                        加入购物车
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 底部导航栏 -->
                <div class="tab-bar">
                    <div class="tab-item active">
                        <i class="fas fa-home text-xl"></i>
                        <span>首页</span>
                    </div>
                    <div class="tab-item">
                        <i class="fas fa-th-large text-xl"></i>
                        <span>分类</span>
                    </div>
                    <div class="tab-item">
                        <i class="fas fa-shopping-cart text-xl"></i>
                        <span>购物车</span>
                    </div>
                    <div class="tab-item">
                        <i class="fas fa-user text-xl"></i>
                        <span>我的</span>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="mt-8 text-sm text-gray-600">
            <p>📱 这是一个微信小程序项目预览</p>
            <p>实际运行需要使用微信开发者工具打开项目</p>
        </div>
    </div>
</body>
</html>